using System;
using System.Collections.Generic;
using System.Text;

namespace Circo.Essentials.Persistence.Filters
{
    public class RangeFilter : EntityFilter
    {
        private object _rangeStart = null;
        private object _rangeFinish = null;

        public object RangeStart
        {
            get { return _rangeStart; }
            set { _rangeStart = value; }
        }

        public object RangeFinish
        {
            get { return _rangeFinish; }
            set { _rangeFinish = value; }
        }

        #region Constructores
        public RangeFilter()
        {
        }

        public RangeFilter(string propName, object rangeStart, object rangeFinish)
        {
            this.RangeFinish = rangeFinish;
            this.RangeStart = rangeStart;
            this.PropertyName = propName;
        }

        #endregion Constructores
    }
}
